#pragma once
#include "mapidefs.h"

class CMAPIFolder :
	public IMAPIFolder
{
	typedef IJMAPIFolder * LPINNEROBJ_T;
public:
	CMAPIFolder(LPINNEROBJ_T pObj);
	~CMAPIFolder(void);

public:

	MAPI_IUNKNOWN_METHODS(IMPL);
	MAPI_IMAPIPROP_METHODS(IMPL);
	MAPI_IMAPICONTAINER_METHODS(IMPL);
	MAPI_IMAPIFOLDER_METHODS(IMPL);

private:
	LPINNEROBJ_T m_pObj;
	ULONG m_cRef;
	CRITICAL_SECTION m_csObj;
};
